﻿@inherits Blazorise.Icon
<i class="@ClassNames" style="@StyleNames" @attributes="@Attributes">
    @if ( Name is IconName )
    {
        @IconProvider.GetIconName( (IconName)Name );
    }
    else if ( Name is string )
    {
        @IconProvider.GetIconName( (string)Name );
    }
</i>